package com.zh.note.event;


import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: zhanghuan
 * @date: 2023/5/8 22:03
 * @description: create it
 */
public class DemoEvent extends ApplicationEvent {

    @Getter
    private String message;

    public DemoEvent(Object source, String message) {
        super(source);
        this.message = message;
    }


}
